import { get, post } from '../utils/request';


// 获取用户信息
export const getUserInfo = () => {
  return post('api.auth.center/get', {}, { loading: false });
};

// 更新用户信息
export const updateUserInfo = (data: any) => {
  return post('api.auth.center/set', data, { loading: false });
};

// 获取绑定信息
export const getBlindInfo = () => {
  return post('api.auth.live/blindInfo', {}, { loading: false });
};

// 邀请绑定
export const invBlind = (data: any) => {
  return post('api.auth.live/invBlind', data, { loading: false });
};

// 签到数据
export const signInfoMonth = () => {
  return post('api.auth.center/signInfoMonth', {}, { loading: false });
}

export default {
  getUserInfo,
  updateUserInfo,
  getBlindInfo,
  invBlind,
  signInfoMonth,
}